import { localSet } from '@/utils';

export const setUserInfo = (userInfo) => {
  localSet('userInfo', userInfo);
};

export const getUserInfo = () => {
    console.log("sdfsfd:", JSON.parse(localStorage.getItem('userInfo')));
  return JSON.parse(localStorage.getItem('userInfo'));
};